<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>规定时间管理</title>


</head>


<body topmargin='10' leftmargin='10' rightmargin='10' bottommargin='10'>
	<table width='100%' height='100%' border='0' cellspacing='1'
		cellpadding='0' align=center bgcolor='#9BBCFF'>
		<tr>
			<td width='100%' colspan='2' bgcolor='#ffffff' valign=top>
				<table width='100%' height='100%' border='0' cellspacing='0'
					cellpadding='0'>
					<tr>
						<td valign='top'>
							<table width='100%' border='0' cellspacing='0' cellpadding='0'>
								<tr>
									<td height='25' background='titlebg.gif'>&nbsp;
										&nbsp;规定时间管理</td>
								</tr>
							</table>

							<table width='100%' border='1' cellspacing='0' cellpadding='3'
							bordercolor="#dddddd">
								<tr bgcolor='#f9f9f9'>
									<td><div align='center'>星期</div></td>
									<td><div align='center'>班次</div></td>
									<td><div align='center'>上班时间</div></td>
									<td><div align='center'>下班时间</div></td>
									<td><div align='center'>负责人</div></td>
									<td><div align='center'>操 作</div></td>
								</tr>
								
								<s:iterator id="workTime" value="list">
									<tr>
										<td align="center"><s:if test="#workTime.weekTime==0">星期日</s:if>
											<s:if test="#workTime.weekTime==1">星期一</s:if> <s:if
												test="#workTime.weekTime==2">星期二</s:if> <s:if
												test="#workTime.weekTime==3">星期三</s:if> <s:if
												test="#workTime.weekTime==4">星期四</s:if> <s:if
												test="#workTime.weekTime==5">星期五</s:if> <s:if
												test="#workTime.weekTime==6">星期六</s:if>
										</td>
										<td align="center"><s:if test="#workTime.dataType">午班</s:if> <s:else>早班</s:else>

										</td>
										<td align="center"><s:date name="#workTime.onDutyTime"
												format="HH:mm:ss" var="on" /> <s:property value="#on" />
										</td>
										<td align="center"><s:date name="#workTime.offDutyTime"
												format="HH:mm:ss" var="off" /> <s:property value="#off" />
										</td>
										<td align="center"><s:property value="#workTime.employee.usertrueName"></s:property>
										</td>
										<td align="center">
											<s:a action="workTime_selectId"><s:param name="id" value="#workTime.id"></s:param>修改</s:a>
											
										</td>
									</tr>
								</s:iterator>




							</table>
						</td>

					</tr>

				</table>
			</td>

		</tr>

	</table>

</body>

</html>
